module.exports = {
    // lintOnSave: true,
    devServer: {
        // 项目运行时候的端口号
        port: 8090,
        //禁用主机检查
        disableHostCheck: true,
        proxy: {
            '/api': {
                target: 'http://47.113.197.110:8080/',
                // 允许跨域
                changeOrigin: true,
                pathRewrite: {
                    '^/api': ''
                }
            }
        }
    }
}